package com.lsh.oms.api.model.status;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;

/**
 * @author peter
 */
@Setter
@Getter
@NoArgsConstructor
public class CancelOrderDto implements Serializable {

    private static final long serialVersionUID = -7380883039361779456L;

    private String dmallOrderCode;
    /**
     * 订单ID
     */
    private Long orderCode;
    /**
     * 用户ID
     */
    private Long uid;
    /**
     * 取消操作人
     */
    private String cancelUser;
    /**
     * 取消备注
     */
    private String cancelRemark;

    private String misOrderNo;

    private Boolean misCodeCancelFalg;

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(new UpdateStatusDto(), ToStringStyle.SHORT_PREFIX_STYLE);
    }
}
